package net.youdi.gateway.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Mono;

/**
 * @author:scl
 * @date:2019-05-14 18:10
 * @description
 */
@RestController
public class HelloFallback {
    @RequestMapping("fallback")
    public Mono<String> helloFallback(){
        System.err.println("fallback");
       return Mono.just("fallback");
    }
}
